<?php
class NavAction extends Action{
    
    public function nav(){
        tsLoad('/webyufei/busi/ProductPage.class.php');
        $productPage = new ProductPage();
        
        $productRoots = $productPage->queryProductTypeTree(0,1);
        
        $this->assign("productRoots",$productRoots);
        $this->assign("navList",$productPage->queryNavList());
        if(!empty($_GET['navTypeId']))
        	$this->assign("currentNavTypeId",$_GET['navTypeId']);
    }
}
?>